package com.mrx.xbrowsersync.service.impl;

import com.mrx.xbrowsersync.domain.BrowserSyncBL;
import com.mrx.xbrowsersync.model.dto.BookmarkResponse;
import com.mrx.xbrowsersync.model.dto.InfoResponse;
import com.mrx.xbrowsersync.model.vo.BookmarkVO;
import com.mrx.xbrowsersync.service.IBrowserSyncService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
 * @author Mr.X
 * @since 2024-03-05 下午 7:41:17
 */
@Service
public class BrowserSyncServiceImpl implements IBrowserSyncService {

    @Resource
    private BrowserSyncBL browserSyncBL;

    @Override
    public BookmarkResponse createBookmarks(BookmarkVO vo) {
        return browserSyncBL.createBookmarks(vo);
    }

    @Override
    public BookmarkResponse getBookmarks(String id) {
        return browserSyncBL.getBookmarks(id);
    }

    @Override
    public BookmarkResponse updateBookmarks(BookmarkVO vo) {
        return browserSyncBL.updateBookmarks(vo);
    }

    @Override
    public BookmarkResponse getBookmarkLastUpdated(String id) {
        return browserSyncBL.getBookmarkLastUpdated(id);
    }

    @Override
    public BookmarkResponse getBookmarkSyncVersion(String id) {
        return browserSyncBL.getBookmarkSyncVersion(id);
    }

    @Override
    public InfoResponse getServiceInfo() {
        return browserSyncBL.getServiceInfo();
    }
}
